<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>系统用户管理</title>
	<script type="text/javascript" src="__STATIC__/hdjs/jquery-1.8.2.min.js"></script>
    <link rel="stylesheet" href="__STATIC__/hdjs/hdjs.css"/>
    <script type="text/javascript" src="__STATIC__/hdjs/hdjs.min.js"></script>
</head>
<body>
	<div class="hd-menu-list">
		<ul>
			 <li class="active"><a href="{|U:'index'}" > 管理员列表 </a></li>
			 <li><a href="{|U:'add'}"> 添加管理员 </a></li>
		</ul>
	</div>
	<table class="hd-table hd-table-list">
		<tr>
			<th>ID</th>
			<th>用户名</th>
			<th>上次登陆时间</th>
			<th>上次登陆IP</th>
			<th>操作</th>
		</tr>
		<list from='$user' name='$v'>
			<tr>
				<td>{$v.uid}</td>
				<td>{$v.username}</td>
				<td>
					{$v.logintime|date:'Y-m-d H:i:s',@@}
				</td>
				<td>
					{$v.loginip}
				</td>
				<td>
					[<a href="{|U:edit,array('uid'=>$v[uid])}">修改</a>]
					[<a href="{|U:del,array('uid'=>$v[uid])}">删除</a>]
				</td>
			</tr>
		</list>
	</table>
</body>
</html>